package com.bj.disc.ui.login.bean

import android.annotation.SuppressLint
import android.os.Parcelable
import kotlinx.android.parcel.Parcelize
import java.io.Serializable

@SuppressLint("ParcelCreator")
@Parcelize
data class UserInfo(
    var account: String = "",
    var accountEdit: Boolean = false,
    var accountStatus: String = "",
    var agentId: String = "",
    var avatar: String = "",
    var changePassword: Boolean = false,
    var email: String = "",
    var password: String = "",
    var lastLoginDate: String = "",
    var lastLoginTenantId: String = "",
    var memberName: String = "",
    var mobilePhone: String = "",
    var nickname: String = "",
    var pkId: String = "",
    var rememberMe: Boolean = false,
    var sex: String = "",
    var tenant: Tenant = Tenant(),
    var tenantRole: String = ""

) : Parcelable, Serializable

@Parcelize
data class Tenant(
    var organizationOrigin: String = "",
    var productVO: ProductVO = ProductVO(),
//    var tags: Array<Any>,
    var tenantId: String = "",
    var tenantName: String = "",
    var tenantStatus: String = ""
) : Parcelable, Serializable

@Parcelize
data class ProductVO(
    var chargeMode: String = "",
    var packageName: String = "",
    var pkId: String = ""
) : Parcelable, Serializable
